<template>
    <!-- components/select_identifyMask/select_identifyMask.wxml -->
    <view class="Mask" v-if="isShow">
        <view class="maskContain">
            <view class="banner">
                <image :src="minImgDoc + 'select_identify.png'"></image>
                <view class="close" @tap="close"></view>
            </view>
            <view class="content">
                <view class="title">选择身份</view>
                <view class="msg">开启丰富的课余生活</view>
                <view class="btnV">
                    <view class="tea btn" @tap="mineInfo" id="2">教师</view>
                    <view class="stu btn" @tap="mineInfo" id="1">学生</view>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
// components/select_identifyMask/select_identifyMask.js
const minImgDoc = require('../../config').minImgDoc;

export default {
    data() {
        return {
            isShow: false,
            minImgDoc: minImgDoc
        };
    },
    /**
     * 组件的属性列表
     */
    props: {
        selectShow: {
            type: Boolean
        }
    },
    /**
     * 组件的方法列表
     */
    methods: {


        close() {
            this.isShow= false
            this.selectShow = false;
        },

        mineInfo(e) {
            wx: uni.navigateTo({
                url: '/pages/course_mineInfo/course_mineInfo?selectid=' + e.currentTarget.id
            });
        }
    },
};
</script>
<style>
@import './select_identifyMask.css';
</style>
